﻿using System;
using System.Collections.Generic;
namespace CMN.Config
{
	/// <summary>
	/// 基本设置描述类, 加[Serializable]标记为可序列化
	/// </summary>
    [Serializable]
    public class URLJumpConfigInfo : IConfigInfo
    {
        


        private List<URLJumpInfo> URLJumpDisplayInfos = new List<URLJumpInfo>();

        /// <summary>
        /// 模板解析列表
        /// </summary>
        public List<URLJumpInfo>  URLJumpInfos
        {
            get { return  URLJumpDisplayInfos; }
            set {  URLJumpDisplayInfos = value; }
        }
           
    }

    /// <summary>
    /// 模板解析名称
    /// </summary>
    public class URLJumpInfo
    {
        /// <summary>
        /// key
        /// </summary>
        public string Key { get; set; }


        /// <summary>
        /// 来路地址
        /// </summary>
        public string ComeUrl { get; set; }

        /// <summary>
        /// 转向地址
        /// </summary>
        public string GoToUrl { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否可以直接打开
        /// </summary>
        public bool IsOpen { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Mark { get; set; }
        /// <summary>
        /// 文章Id
        /// </summary>
        public string Id { get; set; }
    }
}
